package com.ruoyi.zhjd.laboratory.modules.laboratorystressmachine.service.impl;

import java.util.Map;

import com.ruoyi.zhjd.laboratory.modules.laboratorystressmachine.dto.LaboratoryStressMachineListDto;
import com.ruoyi.zhjd.laboratory.modules.laboratorystressmachine.mapper.LaboratoryStressMachineMapper;
import com.ruoyi.zhjd.laboratory.modules.laboratorystressmachine.service.LaboratoryStressMachineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;


/**
 * @ClassName LaboratoryStressMachineServiceImpl
 * @Description 抗压试验业务接口实现
 * @author linhuawei
 * @since 2022-04-29
 */
@Service
public class LaboratoryStressMachineServiceImpl implements LaboratoryStressMachineService {

    @Autowired
    private LaboratoryStressMachineMapper laboratoryStressMachineMapper;

//    @Autowired
//    private BaseServiceComponent baseServiceComponent;

    @Override
//    @ZhjdDataFilter(tableAlias = "t1")
    public IPage<LaboratoryStressMachineListDto> page(Map<String, Object> params) {
//        IPage<LaboratoryStressMachineListDto> page = baseServiceComponent.getPage(params,
//                LaboratoryStressMachineListDto.class);
        return laboratoryStressMachineMapper.queryDto(null, params);
    }

}
